package com.graduate.twentyone.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Valume {
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    Date datetime;
    String fname;
    String cate_name;
    Integer num;
    float fprice;

    public Valume() {
    }

    public Valume(Date datetime, String fname, String cate_name, Integer num, float fprice) {
        this.datetime = datetime;
        this.fname = fname;
        this.cate_name = cate_name;
        this.num = num;
        this.fprice = fprice;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getCate_name() {
        return cate_name;
    }

    public void setCate_name(String cate_name) {
        this.cate_name = cate_name;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public float getFprice() {
        return fprice;
    }

    public void setFprice(float fprice) {
        this.fprice = fprice;
    }
}
